home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q90 / 5 / 35.TXT
Text File  |  1993-08-30  |  3KB  |  88 lines

  1. DOCUMENT:Q90535  24-MAY-1993  [W_NT]
  2. TITLE   :INF: Setting Up BRIEF for MS-DOS in Windows NT
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Win32 Software Development Kit (SDK) for Windows NT
  12.    version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. Summary:
  16.  
  17. Under the current release of Windows NT, BRIEF's environment must be set up
  18. manually in order to run BRIEF for MS-DOS in Windows NT. As a workaround,
  19. set BRIEF's environment variables manually before invoking BRIEF from a
  20. batch file.
  21.  
  22. More Information:
  23.  
  24. To create this batch file, follow these steps:
  25.  
  26. 1. Run BRIEF's Setup. If you haven't installed BRIEF on your computer
  27.    already, run Setup from BRIEF's installation disk; if it is already
  28.    installed, run Setup from its root directory (that is, C:\BRIEF).
  29.  
  30. 2. Make Setup selections normally. When exiting, select "Configure BRIEF".
  31.  
  32. 3. To the query "What should SETUP do with changes to C:\CONFIG.SYS?",
  33.    respond "d" (discard).
  34.  
  35. 4. To the query "What should SETUP do with changes to C:\AUTOEXEC.BAT?",
  36.    respond "w" (write alternate file). Enter the name of file (for example,
  37.    BNT.CMD).
  38.  
  39. 5. Don't elect to reboot, and don't start BRIEF yet.
  40.  
  41. 6. Edit (in BRIEF or other editor) BNT.CMD. Delete all lines but those
  42.    setting BRIEF's environment variables. Add a line that invokes BRIEF, so
  43.    that BNT.CMD resembles the following:
  44.  
  45.       set bpath=c:\BRIEF\macros
  46.       set bhelp=c:\BRIEF\help
  47.       set bfile=c:\BRIEF\state.rst
  48.       set bflags=-i120Mz -mJS -mrestore -Dega -D101key
  49.       set btmp=c:\temp
  50.       set BCC="c1 -c %s.c"
  51.       set BCM=cm -e
  52.       c:\BRIEF\b.exe
  53.  
  54. 7. To get BRIEF to load files named at the command line, add replaceable
  55.    parameters to the last line:
  56.  
  57.       c:\BRIEF\b.exe %1 %2 %3
  58.  
  59. 8. Save BNT.CMD, and put it somewhere in NT's path (for example,
  60.    C:\NT\SYSTEM).
  61.  
  62. You can now invoke BRIEF from any directory executing the command lines
  63. "bnt", "start bnt", or "bnt filename.c *.h", and so on.
  64.  
  65. BRIEF works best when run full-screen. To run BRIEF in full-screen mode, go
  66. to the Program Manager, double-click the MS-DOS Prompt icon in the Main
  67. group; or choose Run from the File menu, enter CMD, and choose OK. When the
  68. command window has displayed, press ALT+ENTER, which will give you a full-
  69. screen command console.
  70.  
  71. Additional reference words: 3.10 3.0
  72.  
  73.  
  74. =============================================================================
  75.  
  76. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  77. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  78. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  79. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  80. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  81. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  82. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  83. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  84. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  85. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  86. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  87.  
  88. Copyright Microsoft Corporation 1993.